package com.qs.pojo.dto;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 商品表
 * </p>
 *
 * @author author
 * @since 2023-11-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class GoodsDto implements Serializable {

    private Integer goodsId;
    private Integer key;
    private Integer storeId;
    private String store;
    private String homeName;
    /**
     * 店铺图
     */
    private String storeImage;
    private String brand;
    private String category;
    private String name;
    private double price;

    /**
     * 已售
     */
    private Integer sale;
    /**
     * 每一个商品的一个小计
     */
    private double subTotalPrice;
    /**
     * 商品主图
     */
    private String image;
    private String detail;
    private Integer number;
    private String status;
    /**
     * 商品浏览量
     */
    private Integer browse;
    private Long commentNum;
    private Long collectNum;
    private String unit;
}
